﻿using System;

using SBPweb.Forge.Modules.Communication;

namespace SBPweb.Forge.Modules.Communication
{
	/// <summary>
	/// Class of MessageEventArgs
	/// </summary>
    public class MessageEventArgs : EventArgs
    {
		/// <summary>
		/// Message
		/// </summary>
        protected IMessage message;

		/// <summary>
		/// Constructor of MessageEventArgs
		/// </summary>
		/// <param name="message">message</param>
        public MessageEventArgs(IMessage message)
        {
            this.message = message;
        }

		/// <summary>
		/// Message
		/// </summary>
        public IMessage Message
        {
            get
            {
                return message;
            }
        }
    }
}